package com.xingxue.mapper;

import java.util.List;

import com.xingxue.entity.Category;
import com.xingxue.entity.vo.CategoryVo;
import org.apache.ibatis.annotations.*;

public interface CategoryMapper {

    void save(Category category);
    
    void update(Category category);
    
    void deleteById(int id);
    
    void deleteByIds(List<java.lang.Integer> id);
    
    Category findById(int id);
    
    List<Category> findByIds(List<java.lang.Integer> id);
    
    List<Category> findAll();

    int findCount();

    List<Category> findByVo(CategoryVo vo);
    
    int findCountByVo(CategoryVo vo);

}